<div class="am-u-sm-12 widget main-w" >
	<ol class="am-breadcrumb">
		<li><a href="{:url('/admin/index')}">首页</a></li>
		<li><a href="{:url('index')}">资金管理</a></li>
		<li class="am-active">财务管理</li>
	</ol>
	<form class="am-form-inline tpl-form-border-form" action="" method="get">
		<div class="am-u-sm-12 cl-p">
			<div class="am-u-sm-12 cl-p">
				<div class="am-u-sm-3">

					<label class="am-u-sm-4 am-form-label am-text-truncate">公司类型:</label>
					<div class="am-u-sm-8 cl-p">
						<select name="company_type" class="company_type" data-am-selected="{btnWidth: '100%'}">
							<option {$Think.get.company_type?"":selected} value="0">所有</option>
							<option {$Think.get.company_type==1?selected:""} value="1" >公务</option>
							<option {$Think.get.company_type==2?selected:""} value="2">单位</option>
							<option {$Think.get.company_type==3?selected:""} value="3">私人</option>
						</select>
					</div>
				</div>
				<div class="am-u-sm-3">
					<label class="am-u-sm-4 am-form-label am-text-truncate car_use">公司名称:</label>
					<div class="am-u-sm-8 cl-p">
						<input type="text" class="am-form-field tpl-form-no-bg" name="name" placeholder="公司名称" value="{$Think.get.name}">
					</div>
				</div>
				<div class="am-u-sm-6">
					<button type="submit" class="am-btn am-btn-secondary am-radius am-btn-sm">查询<i class="am-icon-search"></i></button> 
				</div>
			</div>
		</div>
		<div class="am-u-sm-12 cl-p">
			<div><button style="float: right;" type="button" class="am-btn am-btn-default am-radius am-btn-xs" style="margin-top: -2px;">导出文件</button></div>
			<table width="100%" class="am-table am-table-compact am-table-bordered am-table-radius am-table-striped am-text-truncate tpl-table-black" id="finance">
				<thead>
					<tr data-id="{$item.car_use_id}">
						<th>公司名称</th>
						<!--<th>公司类型</th>-->
						<th>账号</th>
						<th>财政额度</th>
						<th>已用额度</th>
						<th>联系人</th>
						<th>联系电话</th>
						<th>额度操作</th>
					</tr>
				</thead>
				<tbody>
					{foreach $list as $key => $item}
					<tr data-id="{$item.car_use_id}">
						<td>
							{$item.name}
						</td>
						<!--<td>{$item.car_use_type}</td>-->
						<td>{$item.account?:'-'}</td>
						<td class="limit_list">{$item.quota?:'-'}</td>
						<td class="balance">{$item.used_quota?:'-'}</td>
						<td>{$item.contacts?:'-'}</td>
						<td>{$item.phone?:'-'}</td>
						<td>
							<div class="tpl-table-black-operation">
								<a href="javascript:;" class="limit">
									查看
								</a>
								<a href="javascript:;" class="addlimit">
									增加
								</a>
								<a href="javascript:;" class="reducelimit tpl-table-black-operation-del">
									减少
								</a>
							</div>
						</td>
					</tr>
					{/foreach}
					<!-- more data -->
				</tbody>

			</table>
			
			<div class="am-u-sm-12 cl-p">
				
				<div class="am-fr">
					{$pager}
				</div>
			</div>
		</div>
	</form>
</div>